<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>array('//account/backend/login'),
    'id'=>'let-login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
	   'validateOnSubmit'=>true,
	),
)); ?>
<?php echo $form->error($model,'message'); ?>
<div class="loginpage">
	<div class="title">Đăng nhập vào hệ thống</div>
    
    <div class="form">
        
        <div class="inputbox fl">
        	<div>
                <?php echo $form->textField($model,'username', array('class'=>'text')); ?>
                <?php echo $form->error($model,'username'); ?>
            </div>
        	<div>
                <?php echo $form->passwordField($model,'password', array('class'=>'text')); ?>
                <?php echo $form->error($model,'password'); ?>
            </div>
        </div>        
        <div class="submitbox fr"><?php echo CHtml::submitButton('Login'); ?></div>
        <!--
        <div class="submitbox fr"><a href="index.html"><div class="button">Login</div></a></div>
        -->
        <div class="letvn"></div>

    </div>
</div>
<?php $this->endWidget(); ?>


<?php /*
	<div class="row rememberMe">
		<?php echo $form->checkBox($model,'rememberMe'); ?>
		<?php echo $form->label($model,'rememberMe'); ?>
		<?php echo $form->error($model,'rememberMe'); ?>
	</div>
*/
